﻿<Page
    x:Class="StorageHelperTest.MainPage"
    IsTabStop="false"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:StorageHelperTest"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

    <Grid
        Background="{StaticResource ApplicationPageBackgroundThemeBrush}">
        <StackPanel
            Margin="0"
            Orientation="Vertical"
            HorizontalAlignment="Center"
            VerticalAlignment="Center">
            <StackPanel
                Margin="0,10"
                Orientation="Horizontal"
                HorizontalAlignment="Center"
                VerticalAlignment="Center">
                <TextBox
                    x:Name="txtFileName"
                    HorizontalAlignment="Left"
                    TextWrapping="Wrap"
                    VerticalAlignment="Center"
                    Width="250"
                    Margin="10,0" />

                <Button
                    Click="CreateFileClick"
                    Content="Create Text File"
                    HorizontalAlignment="Left"
                    VerticalAlignment="Top"
                    Margin="10,0" />

            </StackPanel>
            <StackPanel
                Orientation="Horizontal"
                HorizontalAlignment="Left"
                VerticalAlignment="Center"
                Margin="0,10">

                <Button
                    Click="ReadFileClick"
                    Content="Read Text File"
                    HorizontalAlignment="Left"
                    VerticalAlignment="Top"
                    Margin="10,0"
                    Width="194" />
                <Button
                    Click="SaveImageClick"
                    Content="Save Image"
                    HorizontalAlignment="Left"
                    VerticalAlignment="Top"
                    Margin="10,0"
                    Width="194" />

            </StackPanel>
        </StackPanel>
    </Grid>
</Page>
